package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DancePetReincarnationCondition 宠物转生等级表
type DancePetReincarnationCondition struct {
	Id              int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	PetTypeId       int            `json:"petTypeId" gorm:"column:pet_type_id;type:bigint;default:0;not null;comment:宠物类型id"`
	Reincarnation   int            `json:"reincarnation" gorm:"column:reincarnation;type:bigint;default:0;not null;comment:转生值"`
	LevelMin        int64          `json:"levelMin" gorm:"column:level_min;type:bigint;default:0;not null;comment:等级左区间值"`
	LevelMax        int64          `json:"levelMax" gorm:"column:level_max;type:bigint;default:0;not null;comment:等级右区间值"`
	ExpElementNo    int64          `json:"expElementNo" gorm:"column:exp_element_no;type:bigint;default:0;not null;comment:转生经验丹编号"`
	ExpElementNoNum int64          `json:"expElementNoNum" gorm:"column:exp_element_no_num;type:bigint;default:0;not null;comment:转生经验丹数量"`
	StarStoneNum    int64          `json:"starStoneNum" gorm:"column:star_stone_num;type:bigint;default:0;not null;comment:星钻数量"`
	CreatedId       int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	UpdateId        int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	CreatedAt       time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt       time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt       gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
